package com.api.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("user")
public class User implements Serializable {
    
    @TableId(type = IdType.AUTO)
    private Long id;

    private String role;
    
    private String username;
    
    private String password;
    
    private String email;
    
    private String avatar;
    
    private LocalDateTime createTime;
    
    private LocalDateTime updateTime;
} 